//
//  LLPlayerView.h
//  AVPlayertest
//
//  Created by lzy on 17/2/8.
//  Copyright © 2017年 NumberFive. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

@protocol LLPlayerProtocol <NSObject>

- (void)pauseButtonClicked;

@end

///播放器View
@interface LLPlayerView : UIView

+ (instancetype)playerView;
@property (weak, nonatomic) IBOutlet UILabel *durtionTime;

@property (nonatomic, strong) AVPlayer *player;
@property (weak, nonatomic) IBOutlet UIButton *pauseButton;

@property (nonatomic, weak) id<LLPlayerProtocol>delegate;

@end
